﻿using System.Linq;

namespace System
{
	public static class StringExtensions
	{
		/// <summary>
		/// Make first char upper case
		/// </summary>
		/// <param name="input"></param>
		/// <returns></returns>
		public static string FirstCharToUpper(this string input)
		{
			if (String.IsNullOrEmpty(input))
			{
				return input;
			}
			return input.First().ToString().ToUpper() + String.Join("", input.Skip(1));
		}
	}
}